package com.xing.zrtest;

/**
 * @Author: ljx
 * @Date: 2021-10-14 17:26
 */
public class TestUnit {

    public static void main(String[] args) {
        double rate = 0.1f;

        int result = (int) (rate * 100);
        System.out.println(result);
    }
}
